package com.rightsidetech.mall.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class CommodityAgentResp implements Serializable {

    private Long id;

    @ApiModelProperty("商品id")
    private Long commodityId;

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("商品编码")
    private String code;

    @ApiModelProperty("分类名称")
    private String typeName;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("封面图")
    private String cover;

    @ApiModelProperty("创建人")
    private String createrName;

    @ApiModelProperty("创建时间")
    private String createdAt;

    @ApiModelProperty("总平台商品排序")
    private Long commoditySort;

    @ApiModelProperty("代理商商品排序")
    private Long commodityOrder;

    @ApiModelProperty("代理商商品状态 0-正常 1-缺货")
    private Byte commodityStatus;

    @ApiModelProperty("是否支持以旧换新 是否支持依旧换新 0-支持 1-不支持")
    private Byte isInNew;

}
